
extern "C" __declspec(dllexport) bool ReferenceCounted_Drop(IReferenceCounted *irc)
{
	return irc->drop();
}

extern "C" __declspec(dllexport) void ReferenceCounted_Grab(IReferenceCounted *irc)
{
	irc->grab();
}

extern "C" __declspec(dllexport) int ReferenceCounted_GetReferenceCount(IReferenceCounted *irc)
{
	return irc->getReferenceCount();
}

extern "C" __declspec(dllexport) const char* ReferenceCounted_GetDebugName(IReferenceCounted *irc)
{
	return irc->getDebugName();
}

/*extern "C" __declspec(dllexport) void ReferenceCounted_SetDebugName(IReferenceCounted *irc, const char* name)
{
	irc->setDebugName(name);
}*/